<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/4/2
  Time: 11:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户信息添加</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="static/plugins/Hplus-v.4.1.0/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="static//Hplus-v.4.1.0/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="static/plugins/Hplus-v.4.1.0/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="static/plugins/Hplus-v.4.1.0/css/animate.css" rel="stylesheet">
    <link href="static/plugins/Hplus-v.4.1.0/css/style.css?v=4.1.0" rel="stylesheet">

    <!-- 全局js -->
    <script src="static/plugins/Hplus-v.4.1.0/js/jquery.min.js?v=2.1.4"></script>
    <script src="static/plugins/Hplus-v.4.1.0/js/bootstrap.min.js?v=3.3.6"></script>
</head>
<body>
<div class="ibox-content">
<%--    enctype="multipart/form-data" 用于文件上传--%>
    <form action="UserInfoAdd" enctype="multipart/form-data" method="post" class="form-horizontal">
        <div class="form-group">
            <label class="col-lg-2 control-label">用户名</label>

            <div class="col-lg-8">
                <input type="text" id="userName" name="username" placeholder="请输入用户名" class="form-control"><span id="usertip" style="color: red;display: none">请填写用户名</span>
            </div>
        </div>

        <div class="hr-line-dashed"></div>

        <div class="form-group">
            <label class="col-lg-2 control-label">密码</label>
            <div class="col-lg-8">
                <input type="password"  id="userPsw" name="userpsw" placeholder="请输入密码"  class="form-control"> <span id="pwdtip" style="color: red;display: none">请填写密码</span>
            </div>
        </div>

        <div class="hr-line-dashed"></div>

        <div class="form-group">
            <label class="col-lg-2 control-label">住址</label>

            <div class="col-lg-8">
                <input type="text"  id="useraddress" name="useraddress" placeholder="请输入住址" class="form-control">
            </div>
        </div>

        <div class="hr-line-dashed"></div>

        <div class="form-group">
            <label class="col-lg-2 control-label">联系方式</label>

            <div class="col-lg-8">
                <input type="text" id="userTel" name="usertel" placeholder="请输入联系方式" class="form-control"><span id="teltip" style="color: #ff0000;display: none">请填写联系方式</span>
            </div>
        </div>

        <div class="hr-line-dashed"></div>

        <div class="form-group">
            <label class="col-lg-2 control-label">注册日期</label>

            <div class="col-lg-8">
                <input type="date"  id="userRegisteDate" name="userregdate"  placeholder="选择注册日期" class="form-control">
            </div>
        </div>

        <div class="hr-line-dashed"></div>

        <div class="form-group">
            <label class="col-lg-2 control-label">头像</label>

            <div class="col-lg-8">
                <input type="file"  id="userimg" name="file_userimg"  class="form-control">
            </div>
        </div>

        <div class="hr-line-dashed"></div>
        <div class="form-group">
            <div class="col-sm-4 col-sm-offset-2">
                <button class="btn btn-primary" type="submit" id="sub">保存内容</button>
                <%--                <button class="btn btn-white" type="submit">取消</button>--%>
            </div>
        </div>
    </form>
</div>
</body>
</html>
